package com.bean;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AnoConfig {

    @Bean
    public CustomerByAnotation getCustomerInstance() {
        CustomerByAnotation cba = new CustomerByAnotation();
        cba.setId(666);
        cba.setName("anotation");
        cba.setPassword("3333");
        return cba;
    }


}
